﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LibRTC.Core
{
    public class RTCConst
    {
        public const int RTCCS_FORCE_PROFILE = 0x00000001;
        public const int RTCCS_FAIL_ON_REDIRECT = 0x00000002;

        public const int RTCMT_AUDIO_SEND = 0x00000001;
        public const int RTCMT_AUDIO_RECEIVE = 0x00000002;
        public const int RTCMT_VIDEO_SEND = 0x00000004;
        public const int RTCMT_VIDEO_RECEIVE = 0x00000008;
        public const int RTCMT_T120_SENDRECV = 0x00000010;
        public const int RTCMT_ALL_RTP = (RTCMT_AUDIO_SEND | RTCMT_AUDIO_RECEIVE | RTCMT_VIDEO_SEND | RTCMT_VIDEO_RECEIVE);

        public const int RTCMT_ALL = (RTCMT_ALL_RTP | RTCMT_T120_SENDRECV);

        public const int RTCSI_PC_TO_PC = 0x00000001;
        public const int RTCSI_PC_TO_PHONE = 0x00000002;
        public const int RTCSI_PHONE_TO_PHONE = 0x00000004;
        public const int RTCSI_IM = 0x00000008;
        public const int RTCSI_MULTIPARTY_IM = 0x00000010;
        public const int RTCSI_APPLICATION = 0x00000020;

        public const int RTCTR_UDP = 0x00000001;
        public const int RTCTR_TCP = 0x00000002;
        public const int RTCTR_TLS = 0x00000004;

        public const int RTCAU_BASIC = 0x00000001;
        public const int RTCAU_DIGEST = 0x00000002;
        public const int RTCAU_NTLM = 0x00000004;
        public const int RTCAU_KERBEROS = 0x00000008;
        public const int RTCAU_USE_LOGON_CRED = 0x00010000;
        public const int RTCAU_ALL = 0x0001009F;

        public const int RTCRF_REGISTER_INVITE_SESSIONS = 0x00000001;
        public const int RTCRF_REGISTER_MESSAGE_SESSIONS = 0x00000002;
        public const int RTCRF_REGISTER_PRESENCE = 0x00000004;
        public const int RTCRF_REGISTER_NOTIFY = 0x00000008;
        public const int RTCRF_REGISTER_ALL = 0x0000000F;

        public const int RTCRMF_BUDDY_ROAMING = 0x00000001;
        public const int RTCRMF_WATCHER_ROAMING = 0x00000002;
        public const int RTCRMF_PRESENCE_ROAMING = 0x00000004;
        public const int RTCRMF_PROFILE_ROAMING = 0x00000008;
        public const int RTCRMF_ALL_ROAMING = 0x0000000F;

        public const int RTCEF_CLIENT = 0x00000001;
        public const int RTCEF_REGISTRATION_STATE_CHANGE = 0x00000002;
        public const int RTCEF_SESSION_STATE_CHANGE = 0x00000004;
        public const int RTCEF_SESSION_OPERATION_COMPLETE = 0x00000008;
        public const int RTCEF_PARTICIPANT_STATE_CHANGE = 0x00000010;
        public const int RTCEF_MEDIA = 0x00000020;
        public const int RTCEF_INTENSITY = 0x00000040;
        public const int RTCEF_MESSAGING = 0x00000080;
        public const int RTCEF_BUDDY = 0x00000100;
        public const int RTCEF_WATCHER = 0x00000200;
        public const int RTCEF_PROFILE = 0x00000400;
        public const int RTCEF_USERSEARCH = 0x00000800;
        public const int RTCEF_INFO = 0x00001000;
        public const int RTCEF_GROUP = 0x00002000;
        public const int RTCEF_MEDIA_REQUEST = 0x00004000;
        public const int RTCEF_ROAMING = 0x00010000;
        public const int RTCEF_PRESENCE_PROPERTY = 0x00020000;
        public const int RTCEF_BUDDY2 = 0x00040000;
        public const int RTCEF_WATCHER2 = 0x00080000;
        public const int RTCEF_SESSION_REFER_STATUS = 0x00100000;
        public const int RTCEF_SESSION_REFERRED = 0x00200000;
        public const int RTCEF_REINVITE = 0x00400000;
        public const int RTCEF_PRESENCE_DATA = 0x00800000;
        public const int RTCEF_PRESENCE_STATUS = 0x01000000;
        public const int RTCEF_ALL = 0x01FFFFFF;

        public const int RTCIF_DISABLE_MEDIA = 0x00000001;
        public const int RTCIF_DISABLE_UPNP = 0x00000002;
        public const int RTCIF_ENABLE_SERVER_CLASS = 0x00000004;
        public const int RTCIF_DISABLE_STRICT_DNS = 0x00000008;

        public const int FACILITY_SIP_STATUS_CODE = unchecked((int)0x000000EF);
        public const int FACILITY_RTC_INTERFACE = unchecked((int)0x000000EE);
        public const int FACILITY_PINT_STATUS_CODE = unchecked((int)0x000000F0);

        public const int STATUS_SEVERITY_SUCCESS = unchecked((int)0x00000000);
        public const int STATUS_SEVERITY_RTC_ERROR = unchecked((int)0x00000002);

        public const int RTC_E_SIP_CODECS_DO_NOT_MATCH = unchecked((int)0x80EE0000);
        public const int RTC_E_SIP_STREAM_PRESENT = unchecked((int)0x80EE0001);
        public const int RTC_E_SIP_STREAM_NOT_PRESENT = unchecked((int)0x80EE0002);
        public const int RTC_E_SIP_NO_STREAM = unchecked((int)0x80EE0003);
        public const int RTC_E_SIP_PARSE_FAILED = unchecked((int)0x80EE0004);
        public const int RTC_E_SIP_HEADER_NOT_PRESENT = unchecked((int)0x80EE0005);
        public const int RTC_E_SDP_NOT_PRESENT = unchecked((int)0x80EE0006);
        public const int RTC_E_SDP_PARSE_FAILED = unchecked((int)0x80EE0007);
        public const int RTC_E_SDP_UPDATE_FAILED = unchecked((int)0x80EE0008);
        public const int RTC_E_SDP_MULTICAST = unchecked((int)0x80EE0009);
        public const int RTC_E_SDP_CONNECTION_ADDR = unchecked((int)0x80EE000A);
        public const int RTC_E_SDP_NO_MEDIA = unchecked((int)0x80EE000B);
        public const int RTC_E_SIP_TIMEOUT = unchecked((int)0x80EE000C);
        public const int RTC_E_SDP_FAILED_TO_BUILD = unchecked((int)0x80EE000D);
        public const int RTC_E_SIP_INVITE_TRANSACTION_PENDING = unchecked((int)0x80EE000E);
        public const int RTC_E_SIP_AUTH_HEADER_SENT = unchecked((int)0x80EE000F);
        public const int RTC_E_SIP_AUTH_TYPE_NOT_SUPPORTED = unchecked((int)0x80EE0010);
        public const int RTC_E_SIP_AUTH_FAILED = unchecked((int)0x80EE0011);
        public const int RTC_E_INVALID_SIP_URL = unchecked((int)0x80EE0012);
        public const int RTC_E_DESTINATION_ADDRESS_LOCAL = unchecked((int)0x80EE0013);
        public const int RTC_E_INVALID_ADDRESS_LOCAL = unchecked((int)0x80EE0014);
        public const int RTC_E_DESTINATION_ADDRESS_MULTICAST = unchecked((int)0x80EE0015);
        public const int RTC_E_INVALID_PROXY_ADDRESS = unchecked((int)0x80EE0016);
        public const int RTC_E_SIP_TRANSPORT_NOT_SUPPORTED = unchecked((int)0x80EE0017);
        public const int RTC_E_SIP_NEED_MORE_DATA = unchecked((int)0x80EE0018);
        public const int RTC_E_SIP_CALL_DISCONNECTED = unchecked((int)0x80EE0019);
        public const int RTC_E_SIP_REQUEST_DESTINATION_ADDR_NOT_PRESENT = unchecked((int)0x80EE001A);
        public const int RTC_E_SIP_UDP_SIZE_EXCEEDED = unchecked((int)0x80EE001B);
        public const int RTC_E_SIP_SSL_TUNNEL_FAILED = unchecked((int)0x80EE001C);
        public const int RTC_E_SIP_SSL_NEGOTIATION_TIMEOUT = unchecked((int)0x80EE001D);
        public const int RTC_E_SIP_STACK_SHUTDOWN = unchecked((int)0x80EE001E);
        public const int RTC_E_MEDIA_CONTROLLER_STATE = unchecked((int)0x80EE001F);
        public const int RTC_E_MEDIA_NEED_TERMINAL = unchecked((int)0x80EE0020);
        public const int RTC_E_MEDIA_AUDIO_DEVICE_NOT_AVAILABLE = unchecked((int)0x80EE0021);
        public const int RTC_E_MEDIA_VIDEO_DEVICE_NOT_AVAILABLE = unchecked((int)0x80EE0022);
        public const int RTC_E_START_STREAM = unchecked((int)0x80EE0023);
        public const int RTC_E_MEDIA_AEC = unchecked((int)0x80EE0024);
        public const int RTC_E_CLIENT_NOT_INITIALIZED = unchecked((int)0x80EE0025);
        public const int RTC_E_CLIENT_ALREADY_INITIALIZED = unchecked((int)0x80EE0026);
        public const int RTC_E_CLIENT_ALREADY_SHUT_DOWN = unchecked((int)0x80EE0027);
        public const int RTC_E_PRESENCE_NOT_ENABLED = unchecked((int)0x80EE0028);
        public const int RTC_E_INVALID_SESSION_TYPE = unchecked((int)0x80EE0029);
        public const int RTC_E_INVALID_SESSION_STATE = unchecked((int)0x80EE002A);
        public const int RTC_E_NO_PROFILE = unchecked((int)0x80EE002B);
        public const int RTC_E_LOCAL_PHONE_NEEDED = unchecked((int)0x80EE002C);
        public const int RTC_E_NO_DEVICE = unchecked((int)0x80EE002D);
        public const int RTC_E_INVALID_PROFILE = unchecked((int)0x80EE002E);
        public const int RTC_E_PROFILE_NO_PROVISION = unchecked((int)0x80EE002F);
        public const int RTC_E_PROFILE_NO_KEY = unchecked((int)0x80EE0030);
        public const int RTC_E_PROFILE_NO_NAME = unchecked((int)0x80EE0031);
        public const int RTC_E_PROFILE_NO_USER = unchecked((int)0x80EE0032);
        public const int RTC_E_PROFILE_NO_USER_URI = unchecked((int)0x80EE0033);
        public const int RTC_E_PROFILE_NO_SERVER = unchecked((int)0x80EE0034);
        public const int RTC_E_PROFILE_NO_SERVER_ADDRESS = unchecked((int)0x80EE0035);
        public const int RTC_E_PROFILE_NO_SERVER_PROTOCOL = unchecked((int)0x80EE0036);
        public const int RTC_E_PROFILE_INVALID_SERVER_PROTOCOL = unchecked((int)0x80EE0037);
        public const int RTC_E_PROFILE_INVALID_SERVER_AUTHMETHOD = unchecked((int)0x80EE0038);
        public const int RTC_E_PROFILE_INVALID_SERVER_ROLE = unchecked((int)0x80EE0039);
        public const int RTC_E_PROFILE_MULTIPLE_REGISTRARS = unchecked((int)0x80EE003A);
        public const int RTC_E_PROFILE_INVALID_SESSION = unchecked((int)0x80EE003B);
        public const int RTC_E_PROFILE_INVALID_SESSION_PARTY = unchecked((int)0x80EE003C);
        public const int RTC_E_PROFILE_INVALID_SESSION_TYPE = unchecked((int)0x80EE003D);
        public const int RTC_E_OPERATION_WITH_TOO_MANY_PARTICIPANTS = unchecked((int)0x80EE003E);
        public const int RTC_E_BASIC_AUTH_SET_TLS = unchecked((int)0x80EE003F);
        public const int RTC_E_SIP_HIGH_SECURITY_SET_TLS = unchecked((int)0x80EE0040);
        public const int RTC_S_ROAMING_NOT_SUPPORTED = unchecked((int)0x00EE0041);
        public const int RTC_E_PROFILE_SERVER_UNAUTHORIZED = unchecked((int)0x80EE0042);
        public const int RTC_E_DUPLICATE_REALM = unchecked((int)0x80EE0043);
        public const int RTC_E_POLICY_NOT_ALLOW = unchecked((int)0x80EE0044);
        public const int RTC_E_PORT_MAPPING_UNAVAILABLE = unchecked((int)0x80EE0045);
        public const int RTC_E_PORT_MAPPING_FAILED = unchecked((int)0x80EE0046);
        public const int RTC_E_SECURITY_LEVEL_NOT_COMPATIBLE = unchecked((int)0x80EE0047);
        public const int RTC_E_SECURITY_LEVEL_NOT_DEFINED = unchecked((int)0x80EE0048);
        public const int RTC_E_SECURITY_LEVEL_NOT_SUPPORTED_BY_PARTICIPANT = unchecked((int)0x80EE0049);
        public const int RTC_E_DUPLICATE_BUDDY = unchecked((int)0x80EE004A);
        public const int RTC_E_DUPLICATE_WATCHER = unchecked((int)0x80EE004B);
        public const int RTC_E_MALFORMED_XML = unchecked((int)0x80EE004C);
        public const int RTC_E_ROAMING_OPERATION_INTERRUPTED = unchecked((int)0x80EE004D);
        public const int RTC_E_ROAMING_FAILED = unchecked((int)0x80EE004E);
        public const int RTC_E_INVALID_BUDDY_LIST = unchecked((int)0x80EE004F);
        public const int RTC_E_INVALID_ACL_LIST = unchecked((int)0x80EE0050);
        public const int RTC_E_NO_GROUP = unchecked((int)0x80EE0051);
        public const int RTC_E_DUPLICATE_GROUP = unchecked((int)0x80EE0052);
        public const int RTC_E_TOO_MANY_GROUPS = unchecked((int)0x80EE0053);
        public const int RTC_E_NO_BUDDY = unchecked((int)0x80EE0054);
        public const int RTC_E_NO_WATCHER = unchecked((int)0x80EE0055);
        public const int RTC_E_NO_REALM = unchecked((int)0x80EE0056);
        public const int RTC_E_NO_TRANSPORT = unchecked((int)0x80EE0057);
        public const int RTC_E_NOT_EXIST = unchecked((int)0x80EE0058);
        public const int RTC_E_INVALID_PREFERENCE_LIST = unchecked((int)0x80EE0059);
        public const int RTC_E_MAX_PENDING_OPERATIONS = unchecked((int)0x80EE005A);
        public const int RTC_E_TOO_MANY_RETRIES = unchecked((int)0x80EE005B);
        public const int RTC_E_INVALID_PORTRANGE = unchecked((int)0x80EE005C);
        public const int RTC_E_SIP_CALL_CONNECTION_NOT_ESTABLISHED = unchecked((int)0x80EE005D);
        public const int RTC_E_SIP_ADDITIONAL_PARTY_IN_TWO_PARTY_SESSION = unchecked((int)0x80EE005E);
        public const int RTC_E_SIP_PARTY_ALREADY_IN_SESSION = unchecked((int)0x80EE005F);
        public const int RTC_E_SIP_OTHER_PARTY_JOIN_IN_PROGRESS = unchecked((int)0x80EE0060);
        public const int RTC_E_INVALID_OBJECT_STATE = unchecked((int)0x80EE0061);
        public const int RTC_E_PRESENCE_ENABLED = unchecked((int)0x80EE0062);
        public const int RTC_E_ROAMING_ENABLED = unchecked((int)0x80EE0063);
        public const int RTC_E_SIP_TLS_INCOMPATIBLE_ENCRYPTION = unchecked((int)0x80EE0064);
        public const int RTC_E_SIP_INVALID_CERTIFICATE = unchecked((int)0x80EE0065);
        public const int RTC_E_SIP_DNS_FAIL = unchecked((int)0x80EE0066);
        public const int RTC_E_SIP_TCP_FAIL = unchecked((int)0x80EE0067);
        public const int RTC_E_TOO_SMALL_EXPIRES_VALUE = unchecked((int)0x80EE0068);
        public const int RTC_E_SIP_TLS_FAIL = unchecked((int)0x80EE0069);
        public const int RTC_E_NOT_PRESENCE_PROFILE = unchecked((int)0x80EE006A);
        public const int RTC_E_SIP_INVITEE_PARTY_TIMEOUT = unchecked((int)0x80EE006B);
        public const int RTC_E_SIP_AUTH_TIME_SKEW = unchecked((int)0x80EE006C);
        public const int RTC_E_INVALID_REGISTRATION_STATE = unchecked((int)0x80EE006D);
        public const int RTC_E_MEDIA_DISABLED = unchecked((int)0x80EE006E);
        public const int RTC_E_MEDIA_ENABLED = unchecked((int)0x80EE006F);
        public const int RTC_E_REFER_NOT_ACCEPTED = unchecked((int)0x80EE0070);
        public const int RTC_E_REFER_NOT_ALLOWED = unchecked((int)0x80EE0071);
        public const int RTC_E_REFER_NOT_EXIST = unchecked((int)0x80EE0072);
        public const int RTC_E_SIP_HOLD_OPERATION_PENDING = unchecked((int)0x80EE0073);
        public const int RTC_E_SIP_UNHOLD_OPERATION_PENDING = unchecked((int)0x80EE0074);
        public const int RTC_E_MEDIA_SESSION_NOT_EXIST = unchecked((int)0x80EE0075);
        public const int RTC_E_MEDIA_SESSION_IN_HOLD = unchecked((int)0x80EE0076);
        public const int RTC_E_ANOTHER_MEDIA_SESSION_ACTIVE = unchecked((int)0x80EE0077);
        public const int RTC_E_MAX_REDIRECTS = unchecked((int)0x80EE0078);
        public const int RTC_E_REDIRECT_PROCESSING_FAILED = unchecked((int)0x80EE0079);
        public const int RTC_E_LISTENING_SOCKET_NOT_EXIST = unchecked((int)0x80EE007A);
        public const int RTC_E_INVALID_LISTEN_SOCKET = unchecked((int)0x80EE007B);
        public const int RTC_E_PORT_MANAGER_ALREADY_SET = unchecked((int)0x80EE007C);
        public const int RTC_E_SECURITY_LEVEL_ALREADY_SET = unchecked((int)0x80EE007D);
        public const int RTC_E_UDP_NOT_SUPPORTED = unchecked((int)0x80EE007E);
        public const int RTC_E_SIP_REFER_OPERATION_PENDING = unchecked((int)0x80EE007F);
        public const int RTC_E_PLATFORM_NOT_SUPPORTED = unchecked((int)0x80EE0080);
        public const int RTC_E_SIP_PEER_PARTICIPANT_IN_MULTIPARTY_SESSION = unchecked((int)0x80EE0081);
        public const int RTC_E_NOT_ALLOWED = unchecked((int)0x80EE0082);
        public const int RTC_E_REGISTRATION_DEACTIVATED = unchecked((int)0x80EE0083);
        public const int RTC_E_REGISTRATION_REJECTED = unchecked((int)0x80EE0084);
        public const int RTC_E_REGISTRATION_UNREGISTERED = unchecked((int)0x80EE0085);
        public const int RTC_E_STATUS_INFO_TRYING = unchecked((int)0x00EF0064);
        public const int RTC_E_STATUS_INFO_RINGING = unchecked((int)0x00EF00B4);
        public const int RTC_E_STATUS_INFO_CALL_FORWARDING = unchecked((int)0x00EF00B5);
        public const int RTC_E_STATUS_INFO_QUEUED = unchecked((int)0x00EF00B6);
        public const int RTC_E_STATUS_SESSION_PROGRESS = unchecked((int)0x00EF00B7);
        public const int RTC_E_STATUS_SUCCESS = unchecked((int)0x00EF00C8);
        public const int RTC_E_STATUS_REDIRECT_MULTIPLE_CHOICES = unchecked((int)0x80EF012C);
        public const int RTC_E_STATUS_REDIRECT_MOVED_PERMANENTLY = unchecked((int)0x80EF012D);
        public const int RTC_E_STATUS_REDIRECT_MOVED_TEMPORARILY = unchecked((int)0x80EF012E);
        public const int RTC_E_STATUS_REDIRECT_SEE_OTHER = unchecked((int)0x80EF012F);
        public const int RTC_E_STATUS_REDIRECT_USE_PROXY = unchecked((int)0x80EF0131);
        public const int RTC_E_STATUS_REDIRECT_ALTERNATIVE_SERVICE = unchecked((int)0x80EF017C);
        public const int RTC_E_STATUS_CLIENT_BAD_REQUEST = unchecked((int)0x80EF0190);
        public const int RTC_E_STATUS_CLIENT_UNAUTHORIZED = unchecked((int)0x80EF0191);
        public const int RTC_E_STATUS_CLIENT_PAYMENT_REQUIRED = unchecked((int)0x80EF0192);
        public const int RTC_E_STATUS_CLIENT_FORBIDDEN = unchecked((int)0x80EF0193);
        public const int RTC_E_STATUS_CLIENT_NOT_FOUND = unchecked((int)0x80EF0194);
        public const int RTC_E_STATUS_CLIENT_METHOD_NOT_ALLOWED = unchecked((int)0x80EF0195);
        public const int RTC_E_STATUS_CLIENT_NOT_ACCEPTABLE = unchecked((int)0x80EF0196);
        public const int RTC_E_STATUS_CLIENT_PROXY_AUTHENTICATION_REQUIRED = unchecked((int)0x80EF0197);
        public const int RTC_E_STATUS_CLIENT_REQUEST_TIMEOUT = unchecked((int)0x80EF0198);
        public const int RTC_E_STATUS_CLIENT_CONFLICT = unchecked((int)0x80EF0199);
        public const int RTC_E_STATUS_CLIENT_GONE = unchecked((int)0x80EF019A);
        public const int RTC_E_STATUS_CLIENT_LENGTH_REQUIRED = unchecked((int)0x80EF019B);
        public const int RTC_E_STATUS_CLIENT_REQUEST_ENTITY_TOO_LARGE = unchecked((int)0x80EF019D);
        public const int RTC_E_STATUS_CLIENT_REQUEST_URI_TOO_LARGE = unchecked((int)0x80EF019E);
        public const int RTC_E_STATUS_CLIENT_UNSUPPORTED_MEDIA_TYPE = unchecked((int)0x80EF019F);
        public const int RTC_E_STATUS_CLIENT_BAD_EXTENSION = unchecked((int)0x80EF01A4);
        public const int RTC_E_STATUS_CLIENT_TEMPORARILY_NOT_AVAILABLE = unchecked((int)0x80EF01E0);
        public const int RTC_E_STATUS_CLIENT_TRANSACTION_DOES_NOT_EXIST = unchecked((int)0x80EF01E1);
        public const int RTC_E_STATUS_CLIENT_LOOP_DETECTED = unchecked((int)0x80EF01E2);
        public const int RTC_E_STATUS_CLIENT_TOO_MANY_HOPS = unchecked((int)0x80EF01E3);
        public const int RTC_E_STATUS_CLIENT_ADDRESS_INCOMPLETE = unchecked((int)0x80EF01E4);
        public const int RTC_E_STATUS_CLIENT_AMBIGUOUS = unchecked((int)0x80EF01E5);
        public const int RTC_E_STATUS_CLIENT_BUSY_HERE = unchecked((int)0x80EF01E6);
        public const int RTC_E_STATUS_REQUEST_TERMINATED = unchecked((int)0x80EF01E7);
        public const int RTC_E_STATUS_NOT_ACCEPTABLE_HERE = unchecked((int)0x80EF01E8);
        public const int RTC_E_STATUS_SERVER_INTERNAL_ERROR = unchecked((int)0x80EF01F4);
        public const int RTC_E_STATUS_SERVER_NOT_IMPLEMENTED = unchecked((int)0x80EF01F5);
        public const int RTC_E_STATUS_SERVER_BAD_GATEWAY = unchecked((int)0x80EF01F6);
        public const int RTC_E_STATUS_SERVER_SERVICE_UNAVAILABLE = unchecked((int)0x80EF01F7);
        public const int RTC_E_STATUS_SERVER_SERVER_TIMEOUT = unchecked((int)0x80EF01F8);
        public const int RTC_E_STATUS_SERVER_VERSION_NOT_SUPPORTED = unchecked((int)0x80EF01F9);
        public const int RTC_E_STATUS_GLOBAL_BUSY_EVERYWHERE = unchecked((int)0x80EF0258);
        public const int RTC_E_STATUS_GLOBAL_DECLINE = unchecked((int)0x80EF025B);
        public const int RTC_E_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = unchecked((int)0x80EF025C);
        public const int RTC_E_STATUS_GLOBAL_NOT_ACCEPTABLE = unchecked((int)0x80EF025E);
        public const int RTC_E_PINT_STATUS_REJECTED_BUSY = unchecked((int)0x80F00005);
        public const int RTC_E_PINT_STATUS_REJECTED_NO_ANSWER = unchecked((int)0x80F00006);
        public const int RTC_E_PINT_STATUS_REJECTED_ALL_BUSY = unchecked((int)0x80F00007);
        public const int RTC_E_PINT_STATUS_REJECTED_PL_FAILED = unchecked((int)0x80F00008);
        public const int RTC_E_PINT_STATUS_REJECTED_SW_FAILED = unchecked((int)0x80F00009);
        public const int RTC_E_PINT_STATUS_REJECTED_CANCELLED = unchecked((int)0x80F0000A);
        public const int RTC_E_PINT_STATUS_REJECTED_BADNUMBER = unchecked((int)0x80F0000B);

    }
}